export const getRouteList = () => {
  // 模拟异步请求
  return new Promise((resolve) => {
    setTimeout(() => {
      resolve([
        {
          name: "home",
          path: "/home",
          meta: { title: "首页", role: ["admin", "user"] },
        },
        {
          name: "user",
          path: "/user",
          meta: { title: "用户", role: ["admin", "user"] },
        },
      ])
    }, 1000)
  })
}
